package com;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author 麦翔盛
 * @description: 短信服务类启动类
 * @date 2021/11/11 10:50
 */
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@ComponentScan(basePackages = "com.edu")
@EnableSwagger2
@EnableDiscoveryClient
public class MsnApplication {
    public static void main(String[] args) {
        SpringApplication.run(MsnApplication.class,args);
    }
}
